home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
doom
/
suckmods.zip
/
SUCKMODS.ZIP
/
suck05
/
src
/
stats.qc
< prev
next >
Wrap
Text File
|
1997-05-09
|
387b
|
20 lines
// SUCK: Print everyone's kills and deaths to the console.
void() printstats =
{
local entity e;
local string s;
e=find(world, classname, "player");
while (e!=world)
{
sprint(self, e.netname);
sprint(self, ": Kills: ");
s=ftos(e.num_kills);
sprint(self, s);
sprint(self, " Deaths: ");
s=ftos(e.num_deaths);
sprint(self, "\n");
e=find(e, classname, "player");
}
};